<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    /*
        问题: 数组的entries是否也等于[Symbol.iterator]
        回答:否
     */
    const m = new Map(
        [
            ['a', 1],
            ['b', 2],
            ['c', 3],
        ]
    )
    console.log(m.entries === m[Symbol.iterator]) // true
    console.log(Array.from(m[Symbol.iterator]()))
    
    const arr = [12,3]
    console.log(arr.entries === arr[Symbol.iterator]) // false
    console.log(Array.from(arr.entries())) // [[0,12],[1,3]]
    console.log(Array.from(arr[Symbol.iterator]())) // [12,3]
</script>
</body>
</html>